<ion-view view-title="车票审核" class="xg-busitem-holiday-view xg-check-ticket" ng-controller="checkTicketCtrl">
  <ion-nav-buttons side="left">
    <a class="ion-ios-home-outline" href="#/tab/home"></a>
  </ion-nav-buttons>
  <ion-content class="xg-busitem-holiday-content">
    <div class="xg-ticket-head-pic1">
      <p>待审核</p>
    </div>
    <ion-list class="xg-busitem-holiday-ul xg-check-ticket-checking">
      <p class="xg-ticket-info" ng-if="noValidTickets"><span class="ion-ios-chatbubble"></span>还没有待审核的乘车申请！</p>
      <ion-item class="item-avatar item-icon-right xg-busitem-holiday-items row" ng-repeat="validateTicket in data1.validateTickets"ng-click="data1.detailInter(validateTicket)">
        <div class="xg-col-20">
          <!--<img src="img/home/jd_work_auditing.png">-->
        </div>
        <div class="xg-col-80">
          <div class="float-fix">
            <span class="ion-ios-person-outline"></span>
            <p>乘坐人: {{validateTicket.seatName}}</p>
          </div>
          <div class="float-fix">
            <span class="ion-ios-recording-outline"></span>
            <p>申请原因类别: {{validateTicket.reasonCatagory}}</p>
          </div>
          <div class="float-fix">
            <span class="ion-ios-clock-outline"></span>
            <p>发车时间: {{validateTicket.departureDate}}</p>
          </div>
          <div class="float-fix">
            <span class="ion-ios-loop"></span>
            <p>路线:  {{validateTicket.routeName}}</p>
          </div>
          <div class="float-fix">
            <span class="ion-ios-time-outline"></span>
            <p>提交审核: {{validateTicket.date}}</p>
          </div>
        </div>
        <i class="icon ion-chevron-right icon-accessory"></i>
      </ion-item>

    </ion-list>

    <div class="xg-ticket-head-pic2">
      <p>已审核</p>
    </div>
    <ion-list class="xg-busitem-holiday-ul">
      <ion-item class="item-avatar item-icon-right xg-busitem-holiday-items row" ng-repeat="inValidateTicket in data1.inValidateTickets"  >
        <div class="xg-col-20">
          <!--<img src="img/home/cd_work_audited.png">-->
        </div>
        <div class="xg-col-80">
          <div class="float-fix">
            <span class="ion-ios-person-outline"></span>
            <p>乘坐人: {{inValidateTicket.seatName}} 审批者: {{inValidateTicket.auditorName}}</p>
          </div>
          <div class="float-fix">
            <span class="ion-ios-location-outline"></span>
            <p>审批用IP: {{inValidateTicket.auditStaffIP}}</p>
          </div>
          <div class="float-fix">
            <span class="ion-ios-recording-outline"></span>
            <p>申请原因类别: {{inValidateTicket.reasonCatagory}}</p>
          </div>
          <div class="float-fix">
            <span class="ion-ios-clock-outline"></span>
            <p>审批时间: {{inValidateTicket.auditDate}}</p>
          </div>
          <div class="float-fix">
            <span class="ion-ios-alarm-outline"></span>
            <p>发车时间: {{inValidateTicket.departureDate}}</p>
          </div>
          <div class="float-fix">
            <span class="ion-ios-loop"></span>
            <p>路线: {{inValidateTicket.routeName}}</p>
          </div>
          <div class="float-fix">
            <span class="ion-ios-time-outline"></span>
            <p>提交时间:{{inValidateTicket.date}}</p>
          </div>

        </div>
        <!--<i class="icon ion-chevron-right icon-accessory"></i>-->
      </ion-item>

    </ion-list>
  </ion-content>
</ion-view>
